package study.javaee.practice.result;


import lombok.Data;

@Data
public class JpaResult {
    private int code;
    boolean isloggedin;
    String username;
    int type;
    public JpaResult(int code, boolean isloggedin, String username, int type) {
        this.code = code;
        this.isloggedin=isloggedin;
        this.username=username;
        this.type=type;
    }

    public JpaResult(int code) {
        this.code=code;
    }

}
